package lunchy.data.classes;

import lunchy.data.interfaces.ILunchyMenuItem;
import lunchy.main.CLunchyApplication;

public class CLunchyMenuItem implements ILunchyMenuItem
{
	private Integer id;
	private Integer groupID;
	private String name;
	private int price;
	private boolean active;

	public CLunchyMenuItem()
	{
		
	}
	
	public CLunchyMenuItem(Integer id, String name, int price, boolean active)
	{
		this.id = id;
		this.name = name;
		this.price = price;
		this.active = active;
	}
	
	public Integer getGroupID()
	{
		return groupID;
	}

	public void setGroupID(Integer groupID)
	{
		this.groupID = groupID;
	}

	public String getName()
	{
		return name;
	}

	public Integer getPrice()
	{
		return price;
	}
	
	public Integer getId()
	{
		return id;
	}
	
	public boolean isActive()
	{
		return active;
	}
	
	public void setActive(boolean active)
	{
		CLunchyApplication.getInstance().debug("[CLunchyMenuItem] " + active);

		this.active = active;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public void setPrice(Integer price)
	{
		this.price = price;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}
}
